<div class="ibox">
	<div class="ibox-content">
		<form class="form-horizontal">
			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["smsMessage.title"]}</label>
				<div class="col-md-3">
					<p class="form-control-static">${smsMessage.title!}</p>
				</div>

				<label for="namebasic" class="col-md-2 control-label">${_res["smsMessage.sendObject"]}</label>
				<div class="col-md-3">
					<#dict type="select" table="customer_role" filedName="name" filedValue="id"
						value="${smsMessage.sendobject!}" disabled="disabled" />
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["smsMessage.sendTime"]}</label>
				<div class="col-md-3">
					<p class="form-control-static">${smsMessage.sendtime!}</p>
				</div>

				<label class="col-sm-2 control-label">${_res["smsMessage.status"]}</label>
				<div class="col-sm-3">
					<#dict type="select" dictCode="SEND_STATUS" value="${smsMessage.status!}" disabled="disabled" />
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label class="col-md-2 control-label">${_res["smsMessage.smsContent"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-6">
					<textarea rows="10" cols="10" class="form-control" name="smsMessage.content" readonly="readonly">${smsMessage.content!}</textarea>
				</div>
			</div>	
			<div class="hr-line-dashed"></div>	
						
			<div class="form-group">
				<div class="row">
					<div class="col-md-10 col-md-offset-2">
							<button type="button" class="btn btn-warning" onClick="ajaxContent('/message/smsMessage/list')">${_res["system.return"]}</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<#nav />

<script>
	/*加载富文本输入框*/
	function initSummerNote() {
		$('.summernote').summernote({
			lang : 'zh-CN'
		});
		$(".note-editor").css({
			"border" : "solid 1px #ccc",
			"color" : "#999"
		})
		var result = $("#messageContent").val();
		$(".note-editable").html(result);
	}
	initSummerNote();
</script>